<?php
/* @var $this ShopConfigController */
/* @var $model ShopConfig */
/* @var $form CActiveForm */
?>

<div class="form">

    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'id' => 'shop-config-_shopconfig-form',
        // Please note: When you enable ajax validation, make sure the corresponding
        // controller action is handling ajax validation correctly.
        // See class documentation of CActiveForm for details on this,
        // you need to use the performAjaxValidation()-method described there.
        'enableAjaxValidation' => false,
    ));
    ?>

    <div class="form_left">
        <?php echo $form->labelEx($model, 'shopname'); ?>
    </div>
    <div class="form_right">
        <?php echo $form->textField($model, 'shopname'); ?>
        <?php echo $form->error($model, 'shopname'); ?>
    </div>
    <div class="clear"></div>
    <div class="form_left">
        <?php echo $form->labelEx($model, 'phone'); ?>
    </div>
    <div class="form_right">
        <?php echo $form->textField($model, 'phone'); ?>
        <?php echo $form->error($model, 'phone'); ?>
    </div>
    <div class="clear"></div>
    <div class="form_left">
        <?php echo $form->labelEx($model, 'logo'); ?>
    </div>
    <div class="form_right">
        <?php echo $form->textField($model, 'logo'); ?>
        <?php echo $form->error($model, 'logo'); ?>
    </div>
    <div class="clear"></div>
    <div class="form_left">
        <?php echo $form->labelEx($model, 'url_logo'); ?>
    </div>
    <div class="form_right">
        <?php echo $form->textField($model, 'url_logo'); ?>
        <?php echo $form->error($model, 'url_logo'); ?>
    </div>
    <div class="clear"></div>
    <div class="form_left">
        <?php echo $form->labelEx($model, 'facebook'); ?>
    </div>
    <div class="form_right">
        <?php echo $form->textField($model, 'facebook'); ?>
        <?php echo $form->error($model, 'facebook'); ?>
    </div>
    <div class="clear"></div>
    <div class="form_left">
        <?php echo $form->labelEx($model, 'google'); ?>
    </div>
    <div class="form_right">
        <?php echo $form->textField($model, 'google'); ?>
        <?php echo $form->error($model, 'google'); ?>
    </div>
    <div class="clear"></div>
    <div class="form_left">
        <?php echo $form->labelEx($model, 'twitter'); ?>
    </div>
    <div class="form_right">
        <?php echo $form->textField($model, 'twitter'); ?>
        <?php echo $form->error($model, 'twitter'); ?>
    </div>
    <div class="clear"></div>
    <div class="form_left">
        <?php echo $form->labelEx($model, 'yotube'); ?>
    </div>
    <div class="form_right">
        <?php echo $form->textField($model, 'yotube'); ?>
        <?php echo $form->error($model, 'yotube'); ?>
    </div>
    <div class="clear"></div>
    <div class="form_left">
        <?php echo $form->labelEx($model, 'metakeyword'); ?>
    </div>
    <div class="form_right">
        <?php echo $form->textField($model, 'metakeyword'); ?>
        <?php echo $form->error($model, 'metakeyword'); ?>
    </div>
    <div class="clear"></div>
    <div class="form_left">
        <?php echo $form->labelEx($model, 'address'); ?>
    </div>
    <div class="form_right">
        <?php echo $form->textField($model, 'address'); ?>
        <?php echo $form->error($model, 'address'); ?>
    </div>
    <div class="clear"></div>
    <div class="form_left">
        <?php echo $form->labelEx($model, 'metadisception'); ?>
    </div>
    <div class="form_right">
        <?php echo $form->textField($model, 'metadisception'); ?>
        <?php echo $form->error($model, 'metadisception'); ?>
    </div>
    <div class="clear"></div>
    <div class="form_left">
        <?php echo $form->labelEx($model, 'footer'); ?>
    </div>
    <div class="form_right">
        <?php echo $form->textField($model, 'footer'); ?>
        <?php echo $form->error($model, 'footer'); ?>
    </div>
    <div class="clear"></div>
    <div class="form_left">.</div>
    <div class="row buttons">
        <?php echo CHtml::submitButton('Cập nhật'); ?>
    </div>

    <?php $this->endWidget(); ?>

</div>